package org.hxyjs.service;

import org.hxyjs.dto.DTO;
import org.hxyjs.entity.TicketRecord;
import org.hxyjs.page.PageInfo;

public interface TicketRecordService {
    /**
     * 查询全部学生
     * @return
     */
    public DTO<TicketRecord> getAllTicketRecords() throws Exception;

    /**
     * 删除学生
     * @param arcno
     * @return
     * @throws Exception
     */
    public DTO<TicketRecord> deleteTicketRecordByArcno(String arcno) throws Exception;
    /**
     *  修改学生
     * @param ticketRecord
     * @return
     */
    public DTO<TicketRecord> updateTicketRecordByArcno(TicketRecord ticketRecord)  throws Exception;
    /**
     *  增加学生
     * @param ticketRecord
     * @return
     */
    public DTO<TicketRecord> addTicketRecord(TicketRecord ticketRecord)  throws Exception;

    /**
     * 根据主键查询学生
     * @param arcno
     * @return
     * @throws Exception
     */
    public DTO<TicketRecord> getTicketRecordByArcno(String arcno) throws Exception;

     public DTO<TicketRecord> getTicketRecordByPage(PageInfo pageInfo) throws Exception;


}
